package com.cn.bdqn.javaoop03.demo8;

public  final class Bus extends MotoVehicle {
	private int  seatCount;
	
	public Bus(String no,String brand,int seatCount){
		super(no, brand);
		this.seatCount=seatCount;
	}

	public int getSeatCount() {
		return seatCount;
	}
	public int calRent(int days){
		if(seatCount<=16){
			return days*800;
		}else{
			return days*1500;
			
		}
		
	}
	

}
